package wiki.hitime.stl.daq.bean.dto.manage;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 消息基础配置
 *
 * @author zhangdp
 * @since 2019-07-15 16:59:58
 */
@Data
@Builder
@AllArgsConstructor
@RequiredArgsConstructor
public class MsgRuleDetailConfigDTO {

    /**
     * 编号
     **/
    private Long id;

    /**
     * 消息规则编号
     **/
    private Long msgRuleId;

    /**
     * 配置名称
     */
    private String configName;

    /**
     * 配置键
     **/
    @NotEmpty(message = "配置键为空")
    private String configKey;

    /**
     * 配置值
     **/
    @NotEmpty(message = "配置值为空")
    private String configValue;

    /**
     * 描述
     */
    private String description;
}
